﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Drawing.Imaging;
using EDB.SmoothStreaming.Models;

namespace EDB.SmoothStreaming.ViewModels {
    public class VideoEditViewModel {
        [Required]
        public ThumbnailFormat ThumbnailFormat { get; set; }
        [Required]
        public Guid VideoId { get; set; }
        public string VideoFolderPath { get; set; }
        public bool ExtractCompressedFile { get; set; }
        [Required]
        [Range(10, 1000)]
        public int ThumbnailWidth { get; set; }
        [Required]
        [Range(10, 1000)]
        public int ThumbnailHeight { get; set; }
        [Required]
        [Range(1, 100)]
        public int ThumbnailCount { get; set; }
        [Required]
        public string VideoStreams { get; set; }
        [Required]
        [Range(160, 1920)]
        public int PlayerWidth { get; set; }
        [Required]
        [Range(90, 1080)]
        public int PlayerHeight { get; set; }
    }
}